package com.hljx.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author : gx
 * @since : 2023/5/9 10:58
 */
@Data
public class RoleVO {
    @Schema(description = "角色主键")
    private Long id;

    @Schema(description = "角色")
    private String roleName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm",timezone = "GMT+8")
    private LocalDateTime createTime;

    @Schema(description = "启用状态 1:启用 0:禁用")
    private Integer status;
}
